package org.zn.note.spring.dao.jpa;

import org.springframework.data.repository.CrudRepository;
import org.zn.note.spring.domain.User;

// 用于Security用户验证
public interface UserRepository extends CrudRepository<User, Long> {
    User findByUsername(String username);
}
